<!doctype html>
        <!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en-US"> <![endif]-->
        <!--[if IE 7]>    <html class="lt-ie9 lt-ie8" lang="en-US"> <![endif]-->
        <!--[if IE 8]>    <html class="lt-ie9" lang="en-US"> <![endif]-->
        <!--[if gt IE 8]><!--> <html lang="en-US"> <!--<![endif]-->
        <head>
                <!-- META TAGS -->
                <meta charset="UTF-8" />
                <meta name="viewport" content="width=device-width, initial-scale=1.0">

                <title>Knowledge Base Theme</title>

                <link rel="shortcut icon" href="images/favicon.png" />


                

                <!-- Style Sheet-->
                <link rel="stylesheet" href="style.css"/>
                <link rel='stylesheet' id='bootstrap-css-css'  href='css/bootstrap5152.css?ver=1.0' type='text/css' media='all' />
                <link rel='stylesheet' id='responsive-css-css'  href='css/responsive5152.css?ver=1.0' type='text/css' media='all' />
                <link rel='stylesheet' id='pretty-photo-css-css'  href='js/prettyphoto/prettyPhotoaeb9.css?ver=3.1.4' type='text/css' media='all' />
                <link rel='stylesheet' id='main-css-css'  href='css/main5152.css?ver=1.0' type='text/css' media='all' />
                <link rel='stylesheet' id='blue-skin-css'  href='css/blue-skin5152.css?ver=1.0' type='text/css' media='all' />
                <link rel='stylesheet' id='custom-css-css'  href='css/custom5152.html?ver=1.0' type='text/css' media='all' />
				<link rel="stylesheet" href="css/no-show.css" type="text/css" />
	
                <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
                <!--[if lt IE 9]>
            <script src="js/html5.js"></script></script>
                <![endif]-->

        </head>

        <body>
<div id="app" class="back-serch">
         
<!-- Start of Header -->
                <div class="header-wrapper">

                                <div class="container">


                                        <div >
                                                <!-- Website Logo -->
                                                <a href="main.html"   >
                                                        <img src="images/taru.jpg" 
                                                        	style="height:60px;">
                                                </a>
                                                <span class="tag-line">塔里木大学</span>
                                        </div>


                                        <!-- Start of Main Navigation -->
                                        <nav class="main-nav">
                                                <div class="menu-top-menu-container">
                                                        <ul id="menu-top-menu" class="clearfix">
                                                                <li class="current-menu-item"><a href="main.html">Home</a></li>
                                                                <li><a href="#">科普模块</a>
	                                                                <ul class="sub-menu">
	                                                                    <li><a @click="pes"  href="disease-list.html">虫害科普</a></li>
	                                                                    <li><a @click="pesCon" href="disease-list.html">虫害防治</a></li>
	                                                                    <li><a @click="dis" href="disease-list.html">病害科普</a></li>
	                                                                    <li><a @click="disCon" href="disease-list.html">病害防治</a></li>
	                                                                </ul></li>
                                                                <li><a href="exchange-list.html">讨论模块</a></li>
                                                                <li><a href="forecast.html">数据预测</a></li>
                                                                <li><a href="#">用户信息</a>
	                                                                <ul class="sub-menu">
	                                                                     <li><a href="selectUser.html">查看用户信息</a></li>
	                                                                     <li><a href="updateUser.html">修改用户信息</a></li>
	                                                                     <li><a href="updateUserPassword.html">修改用户密码</a></li>
	                                                                </ul>
                                                                </li>
                                                                <li v-if="flag"><a href="#">管理员模块</a>
	                                                                <ul class="sub-menu">
	                                                                     <li><a href="disease-list-statue.html">文章审核</a></li>
	                                                                    
	                                                                </ul>
                                                                </li>
                                                                
                                                        </ul>
                                                </div>
                                        </nav>
                                        <!-- End of Main Navigation -->

                                </div>

                </div>
                <!-- Start of Search Wrapper -->
                <div >
                        <div class="search-area container">
                        	<br />	<br />	<br />	<br />	<br />	<br />	<br />	
                                <h3 class="search-header">有什么问题?</h3>
                                <p class="search-tag-line">如果你有什么问题你可以输入关键字点击搜索!</p>

                                <form id="search-form" class="search-form clearfix" method="get" action="#" autocomplete="off">
                                        <input v-model="detail" class="search-term required" type="text" id="s" name="s" placeholder="输入关键字" title="* Please enter a search term!" />
                                        <input @click="serch" class="search-btn" type="submit" value="搜索" />
                                        <div id="search-error-container"></div>
                                </form>
                        </div>
                </div>
                <!-- End of Search Wrapper -->
</div>
               

                <!-- script -->
                <script type='text/javascript' src='js/jquery-1.8.3.min.js'></script>
                <script type='text/javascript' src='js/jquery.easing.1.34e44.js?ver=1.3'></script>
                <script type='text/javascript' src='js/prettyphoto/jquery.prettyPhotoaeb9.js?ver=3.1.4'></script>
                <script type='text/javascript' src='js/jquery.liveSearchd5f7.js?ver=2.0'></script>
				<script type='text/javascript' src='js/jflickrfeed.js'></script>
                <script type='text/javascript' src='js/jquery.formd471.js?ver=3.18'></script>
                <script type='text/javascript' src='js/jquery.validate.minfc6b.js?ver=1.10.0'></script>
                <script type='text/javascript' src='js/custom5152.js?ver=1.0'></script>
                  <script type="text/javascript" src="js/url.js"></script>
				<script type="text/javascript" src="js/vue(1).js"></script>
				<script type="text/javascript" src="js/axios.min.js"></script>
				
				<script>
					var vue = new Vue({
						
						el: '#app', //挂载点
						data: {
							detail:'',
							flag:false
						},
						created: function() {
							this.userOrAdmin();
						},
						methods: {
                            userOrAdmin: function(){
                                var self = this;
                                var userSort = window.sessionStorage.getItem("userSort");
                                console.log(userSort)
                                if(userSort == 2 ){
                                    self.flag = true;
                                }
                            },
							serch: function() {
								var self = this;
                                window.sessionStorage.setItem("title",self.detail);
                                window.location.href = "disease-vague.html";
							},
							pes:function(){
								window.sessionStorage.setItem("sort", "1");
							},
							pesCon:function(){
								window.sessionStorage.setItem("sort", "2");
							},
							dis:function(){
								window.sessionStorage.setItem("sort", "3");
							},
							disCon:function(){
								window.sessionStorage.setItem("sort", "4");
							}
						}
					})
				</script>
        </body>
</html>



